//
//  BADataHandle.h
//  BabyAlbum
//
//  Created by master on 17/2/14.
//  Copyright © 2017年 master. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BAAlbumModel.h"
#define BADB [BADataHandle shareInstance]
@interface BADataHandle : NSObject

+ (instancetype)shareInstance;
- (void)createAlbumWithModel:(BAAlbumModel *)model;
- (NSArray<BAAlbumItem *> *)resourceInAlbum:(NSString *)albumId;
- (NSArray<BAAlbumModel *> *)allAlbums;
- (void)updateAlbumDataWithModel:(BAAlbumModel *)model;
- (void)deleteAlbum:(BAAlbumModel *)model;
@end
